package com.frame.work.entity.dto;




import com.frame.work.common.util.Time;

import java.time.LocalDateTime;

public class BaseRepDTO {
    private String id;
    private Long createTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = Time.toLong(createTime);
    }

    @Override
    public String toString() {
        return "BaseRepDTO{" +
                "id='" + id + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
